package com.sumainfor.pc.epc.fallback.ZfallBack;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.epc.feign.Zfeign.ZpcMktFeign;
import org.springframework.stereotype.Component;

import java.util.*;

/**
 * 调用市场部服务
 */

@Component
public class ZpcMarketFallback implements ZpcMktFeign {

    @Override
    public JsonResult getCommunityName() {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getCommunityList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoListForRepair(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getCommunityLists(Map<String, Object> params, Pager pager) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getCommunityListss(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getCommunityListHid(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getComIdList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouIdList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouIdInfoList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult addHouCon(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouConList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouIdLists(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getAuditHousingCount() {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getAuditHousing(Map<String, Object> params, Pager pager) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRdAlterList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult selectComIdByHId(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult selectHousingDetailByArray(Collection<String> hIds) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult selectProjectIdList(String comName) {
        return JsonResult.error("市场部服务器繁忙...");
    }

    @Override
    public JsonResult getTcmktHousSysUserId(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public List<String> getHouseIdListByBuildAndRoom(Map<String, Object> params) {
        return null;
    }

    @Override
    public JsonResult updatePayment(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙");
    }

    @Override
    public Map<String, Object> getHouEpc(Map<String, Object> params) {
        return new HashMap<>();
    }

    @Override
    public List<Map<String, Object>> getHoulist(Map<String, Object> params) {
        return new ArrayList<>();
    }

}
